Minor for baseline with suffix

How can I create a minor baseline for a module with a suffix using dxl scripts? Any help will be appreciated.

 

Thank you. Have a nice day.


cron7 - Mon Oct 16 07:38:57 EDT 2017

Re: Minor for baseline with suffix
O.Wilkop - Mon Oct 16 07:46:56 EDT 2017

create(nextMinor("Suffix"), "Description");

will create the next minor baseline with the suffix "Suffix" and the baseline description "Description" in the current module.

Module m = current;
create(m, nextMinor("Suffix"), "Description");

alternatively

Re: Minor for baseline with suffix
PekkaMakinen - Mon Oct 16 07:50:37 EDT 2017

Example code from DXL Reference using nextMinor and create

 

nextMajor, nextMinor 
Declaration 
Baseline nextMajor([string suffix]) 
Baseline nextMinor([string suffix]) 
Operation 
Returns the next major or minor baseline, with or without a suffix. 

Example 
create(nextMinor "Suffix A", "alpha review")